<?php

namespace Database\Factories;

use App\Models\SystemAdmin;
use Illuminate\Database\Eloquent\Factories\Factory;

class SystemAdminFactory extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = SystemAdmin::class;

    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'account' => 'super_admin',
            'password' => bcrypt(123123),
            'avatar' => 'https://placeimg.com/640/480/any',
            'real_name' => '超級管理员',
        ];
    }
}
